package com.augurit.gzcgwsp.ywcmn.service;

import java.util.List;

import com.augurit.common.base.service.ICrudService;
import com.augurit.gzcgwsp.ywcmn.entity.YwComSjcl;
import com.augurit.gzcgwsp.ywcmn.web.form.YwComSjclForm;

public interface IYwComSjclService extends ICrudService<YwComSjclForm, Long> {
    public List<YwComSjclForm> getList(YwComSjclForm form);
    
    public void changeChxstate(YwComSjclForm form,String otherFlag);
    
    public void saveByUpload(YwComSjclForm form);
    
    public List<YwComSjclForm> loadQySjclList(YwComSjclForm form);
    
    public void saveSjclBySelectQyxx(YwComSjclForm form);
    
    public void updateByNewForm(Long ajid);
    
    public List<YwComSjclForm> getList(String templateCode, Long ajid, String sjclTplName);

    /**
     * 根据案件id查询申请材料实体
     * @param ajId
     * @return
     */
    public List<YwComSjcl>  getFormByAjId(Long ajId,Long tempId);
	 
	/**
     * 通过ajid、tplcode、tplid查询该案件的该附件上传的所有列表
     */
    public List<YwComSjclForm> getFjList(Long ajid,Long tplid,String tplcode);

    /**
     * 修改方法
     * @param paramForm
     */
	public void updateAttach(YwComSjclForm paramForm);
	
	/**
	 * 保存列表增加的其他材料
	 * @param form
	 */
	public void saveOther(YwComSjclForm form);
	
	/**
     * 其他的
     * @param form
     * @return
     */
    public List<YwComSjclForm> getOtherList(YwComSjclForm form);
    
    public void saveOtherByUpload(YwComSjclForm form);
    
    public void updateOtherAttach(YwComSjclForm paramForm);
}